﻿public class HomeWork {

	public static void main(String[] args) {
		int rows = 3;
		System.out.println("直角三角形：");
		for (int i = 1; i <= rows ; i++) {
			for (int j = 1; j <=i ; j++) {
				System.out.print("*");
			}
			System.out.println();
		}
	}
}